package com.design.pattern.clinic.structural.pipeline.calcule;

import com.design.pattern.clinic.structural.pipeline.Pipe;
import org.springframework.stereotype.Service;

@Service
public class IntToStrStep implements Pipe<Integer,String> {

    @Override
    public String process(Integer input) throws StepException {
        return input.toString();
    }
}
